package com.ph.irp.base.currency.service;

import java.util.List;
import com.ph.irp.model.PBaseCurrency;
public interface CurrencyService {
	
		
	/*
	 * 
	 */
	public List<PBaseCurrency> getCurrencyAllList(PBaseCurrency currencyModel) throws Throwable;
	
	/*
	 * 查询币别记录定义
	 */
	public List<PBaseCurrency> getCurrencyList() throws Throwable;
	
	/*
	 * 按照币别ID查询
	 */
	public PBaseCurrency getCurrencyByID(Integer currencyId) throws Throwable;
	
	/*
	 * 按照币别代码查询
	 */
	public List<PBaseCurrency> getCurrencyByCode(String currencyCode) throws Throwable;
	
	/*
	 * 按照币别名称查询
	 */
	public List<PBaseCurrency> getCurrencyByName(String currencyName) throws Throwable;
	
	/*
	 * 按照币别名称和代码一起查询
	 */
	public List<PBaseCurrency> getCurrencyByCodeAndName(String currencyCode,String currencyName) throws Throwable;
	
	/*
	 * 添加币别记录定义
	 */
	public void addCurrency(PBaseCurrency currencyModel) throws Throwable;
	
	/*
	 * 更新币别记录
	 */
	public void updateCurrency(PBaseCurrency currencyModel) throws Throwable;
	
	/*
	 * 删除选中记录
	 */
	public void delectCurrency(Integer currencyId) throws Throwable;
	
}
